package com.briup.day10;

import com.briup.day10.poly2.*;

public class Test_GamePoly {
    public static void main(String[] args) {
        Game game = new Game();
        Ball ball = new Basketball();
        game.start(ball);
        System.out.println("---------------------");
         ball = new Football();
        game.start(ball);
        System.out.println("---------------------");
        ball=new PingPang();
        game.start(ball);
    }
}
